﻿using System.Collections.Generic;
using System.Linq;

namespace Pap.Data
{
    /// <summary>
    /// 
    /// </summary>
    public partial class CommitteeBankAccountMainBranchDeposite : ICommitteeBankAccountMainBranchDeposite
    {

        /// <summary>
        /// Gets the committee bank account main branch deposit attachments.
        /// </summary>
        IEnumerable<ICommitteeBankAccountMainBranchDepositAttachment> ICommitteeBankAccountMainBranchDeposite.CommitteeBankAccountMainBranchDepositAttachments
        {
            get { return this.CommitteeBankAccountMainBranchDepositAttachments.OfType<ICommitteeBankAccountMainBranchDepositAttachment>(); }
        }

        /// <summary>
        /// Gets the committee bank account.
        /// </summary>
        ICommitteeBankAccount ICommitteeBankAccountMainBranchDeposite.CommitteeBankAccount
        {
            get { return this.CommitteeBankAccount; }
        }

    }
}
